import re

content = 'Hello 1234567 World_This is a Regex Demo'
print(len(content))
# result = re.match('^Hello\s\d\d\d\s\d{4}\s\w{10}.*Demo$', content)
# print(result)

# result = re.match('^Hello.*Demo$', content)
result = re.match('^Hello\s(\d+)\s.*Demo$', content)

print(result.group(1))
print(result.span())   